//@author A0101906R
#ifndef CMDSEARCH_H
#define CMDSEARCH_H

#include "Cmd.h"
#include "CmdSearch.h"

namespace Twentyfifth {
	class CmdSearch : public Cmd {
	public:
		static const std::string FEEDBACK_SEARCHOK;
		static const std::string ERROR_UNDOSEARCH;
		static const std::string ERROR_EMPTYSEARCH;
		CmdSearch();
		Status execution();
		Status undo(Status::StatusCode);
		void setDescForSearch(Status&);
		void checkException();
		void setSearchDate(DateTime);
		DateTime getSearchDate();
	};
}

#endif